import Vue from 'vue'
import Router from 'vue-router'
import beforeEach from './beforeEach.js'
Vue.use(Router)

const index = r => require.ensure([], () => r(require('../pages/index/index.vue')), 'index')

let router = new Router({
  routes: [
    {
      path: '/',
      component: index,
      meta: {
        title: '审核流程'
      }
    }
  ]
})
beforeEach(router)
export default router
